package com.diandiansong.app.entity;

import com.google.gson.annotations.SerializedName;

import diandiansong.library.utils.BaseEntity;

public class NewsDetailInfo extends BaseEntity {


    /**
     * message : null
     * data : {"title":"标题1","contents":"内容","createtime":"2018.07.04"}
     */

    @SerializedName("data")
    private Data data;

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data {
        /**
         * title : 标题1
         * contents : 内容
         * createtime : 2018.07.04
         */

        @SerializedName("title")
        private String title;
        @SerializedName("contents")
        private String contents;
        @SerializedName("createtime")
        private String createtime;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContents() {
            return contents;
        }

        public void setContents(String contents) {
            this.contents = contents;
        }

        public String getCreatetime() {
            return createtime;
        }

        public void setCreatetime(String createtime) {
            this.createtime = createtime;
        }
    }
}
